package com.chl.legou.seckill.po;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chlong
 * @date 2022/12/16
 */
@Data
public class SeckillStatus implements Serializable {
    //秒杀⽤户名
    private String username;
    //创建时间
    private Date createTime;
    //秒杀状态 1:排队中，2:秒杀等待⽀付,3:⽀付超时，4:秒杀失败,5:⽀付完成
    private Integer status;
    //秒杀的商品ID
    private Long goodsId;
    //应付⾦额
    private Float money;
    //订单号
    private Long orderId;
    //时间段
    private String time;
    public SeckillStatus() {
    }
    public SeckillStatus(String username, Date createTime, Integer status,
                         Long goodsId, String time) {
        this.username = username;
        this.createTime = createTime;
        this.status = status;
        this.goodsId = goodsId;
        this.time = time;
    }
}
